package homework;

import java.util.Scanner;

public class Test7 {
    public static void main(String[] args) {
        System.out.println("输入字符串");
        Scanner sc=new Scanner(System.in);
        StringBuilder sb=new StringBuilder();
        System.out.println(sb.append(sc.nextLine()).reverse().toString());
    }
}
